import { combineReducers } from 'redux';
import { type } from '../action';
const ebikeData = (state, action) => {
  switch (action.type) {
    case type.SWITCH_MENU:
      return {
        ...state,
        menuName: action.menuName,
      };
      break;

    default:
      return {
        ...state,
      };
      break;
  }
};

export default ebikeData;
